projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8b9b30
)
wayland: Remove initial GL API bind
author
Benjamin Otte
<otte@redhat.com>
Tue, 5 Oct 2021 22:54:36 +0000
(
00:54
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Wed, 6 Oct 2021 01:44:36 +0000
(
03:44
+0200)
This is leftover from before the addition of GLES support.
GTK works fine without OpenGL and just OpenGLES.
gdk/wayland/gdkglcontext-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkglcontext-wayland.c
b/gdk/wayland/gdkglcontext-wayland.c
index 5bec5f101bc7cc3c6cfab026e11f6e35b6d3f13c..287ee5552b3ccc8c9ac2d6af2eb1587830115976 100644
(file)
--- a/
gdk/wayland/gdkglcontext-wayland.c
+++ b/
gdk/wayland/gdkglcontext-wayland.c
@@
-396,14
+396,6
@@
gdk_wayland_display_init_gl (GdkDisplay *display,
error))
return NULL;
- if (!eglBindAPI (EGL_OPENGL_API))
- {
- g_set_error_literal (error, GDK_GL_ERROR,
- GDK_GL_ERROR_NOT_AVAILABLE,
- _("No GL implementation is available"));
- return NULL;
- }
-
return g_object_new (GDK_TYPE_WAYLAND_GL_CONTEXT,
"display", display,
NULL);